
class add{
    constructor(data,address,state="未发货") {
        this.data = data;
        this.address = address;
        this.state=state
    }
}

class all{
    constructor(page=1, size=10) {
        this.page = page;
        this.size = size;
    }
}

class update{
    constructor(orderid, data={age:30}) {
        this.orderid = orderid;
        this.data = data;
    }
}

class select {
    constructor(page, size, state) {
         this.page = page;
        this.size = size;
        this.state=state
    }
}
module.exports = {add,update,all,select};